﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_EditMenu, App_Web_j10nq5jl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="<%= ResolveUrl("~/jquery-easyui-1.2.6/themes/"+Skin+"/easyui.css") %>"
        rel="stylesheet" type="text/css" />
    <link href="../jquery-easyui-1.2.6/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../jquery-easyui-1.2.6/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../jquery-easyui-1.2.6/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../jquery-easyui-1.2.6/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../Content/js/sysEasyUI.js" type="text/javascript"></script>
    <style type="text/css">
        body
        {
            font-size: 12px;
        }
        .style1
        {
            width: 100%;
            border-collapse: collapse;
            border: 1px solid #E2EEF3;
        }
        .style1 tr td
        {
            border: 1px solid #E2EEF3;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            $("#btnOK").click(btnOK);

            $('#SIcons').combo({
                required: true,
                editable: false
            });
            $('#divIcons').appendTo($('#SIcons').combo('panel'));
            var icon = $("#txtMenuIcon").val();
            $('#divIcons input').click(function () {
                var v = $(this).val();
                var s = $(this).next('span').text();
                $("#txtMenuIcon").val(v);
                $('#SIcons').combo('setValue', v).combo('setText', s).combo('hidePanel');
            });
            var a = $("input[type=radio][value=" + icon + "]");
            if (a != undefined) a.click();
        });
        function btnOK() {
            var aa = $("#Button1 ");
            $("#Button1 ").click();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="">
        <table cellpadding="0" class="style1">
            <tr>
                <td>
                    菜单名称
                </td>
                <td>
                    <asp:TextBox ID="txtMenuName" runat="server" required="true"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    菜单图标
                </td>
                <td>
                    <asp:TextBox ID="txtMenuIcon" runat="server" style="display:none;"></asp:TextBox>
                    <select id="SIcons" class="easyui-combobox" style="width:154px">
                    </select>
                    <div id="divIcons">
                        <div style="color: #99BBE8; background: #fafafa; padding: 5px;">
                            请选择图标</div>
                        <input type="radio" name="lang" value="icon-back" selected><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/back.png" />back</span><br />
                        <input type="radio" name="lang" value="icon-cancel"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/cancel.png" />cancel</span><br />
                        <input type="radio" name="lang" value="icon-cut"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/cut.png" />cut</span><br />
                        <input type="radio" name="lang" value="icon-edit_add"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/edit_add.png" />edit_add</span><br />
                        <input type="radio" name="lang" value="icon-edit_remove"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/edit_remove.png" />edit_remove</span><br />
                        <input type="radio" name="lang" value="icon-filesave"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/filesave.png" />filesave</span><br />
                        <input type="radio" name="lang" value="icon-help"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/help.png" />help</span><br />
                        <input type="radio" name="lang" value="icon-no"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/no.png" />no</span><br />
                        <input type="radio" name="lang" value="icon-ok"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/ok.png" />ok</span><br />
                        <input type="radio" name="lang" value="icon-pencil"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/pencil.png" />pencil</span><br />
                        <input type="radio" name="lang" value="icon-print"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/print.png" />print</span><br />
                        <input type="radio" name="lang" value="icon-redo"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/redo.png" />redo</span><br />
                        <input type="radio" name="lang" value="icon-reload"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/reload.png" />reload</span><br />
                        <input type="radio" name="lang" value="icon-search"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/search.png" />search</span><br />
                        <input type="radio" name="lang" value="icon-sum"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/sum.png" />sum</span><br />
                        <input type="radio" name="lang" value="icon-tip"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/tip.png" />tip</span><br />
                        <input type="radio" name="lang" value="icon-undo"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/undo.png" />undo</span><br />
                        <input type="radio" name="lang" value="icon-mini_add"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/mini_add.png" />mini_add</span><br />
                        <input type="radio" name="lang" value="icon-mini_edit"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/mini_edit.png" />mini_edit</span><br />
                        <input type="radio" name="lang" value="icon-mini_refresh"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/mini_refresh.png" />mini_refresh</span><br />
                        <input type="radio" name="lang" value="icon-wx"><span><img alt="" src="../jquery-easyui-1.2.6/themes/icons/wx.png" />wx</span><br />
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    菜单地址
                </td>
                <td>
                    <asp:TextBox ID="txtMenuUrl" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="slider-h">
                    创建时间
                </td>
                <td class="slider-h">
                    <asp:TextBox ID="txtCreateTime" runat="server" class="easyui-datebox" Enabled="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    修改时间
                </td>
                <td>
                    <asp:TextBox ID="txtUpdateTime" runat="server" class="easyui-datebox" ></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    排序
                </td>
                <td>
                    <asp:TextBox ID="txtSequnce" runat="server" required="true" validType="number"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <a href="#" class="easyui-linkbutton" iconcls="icon-save" id="btnOK">保存</a>
                    <asp:Button ID="Button1" runat="server" Text="保存" Style="display: none;" OnClick="Button1_Click" OnClientClick="return CheckV()" />
                    <a href="#" class="easyui-linkbutton" iconcls="icon-cancel" id="btnCancel" onclick="closeDialog()">
                        取消</a>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
